package com.zfc.mymall.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

// 因为 common 中有mysql mybatis依赖，所以需要排除数据源
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
public class MymallGatewayApplication {

  public static void main(String[] args) {
    SpringApplication.run(MymallGatewayApplication.class, args);
  }

}
